package com.chonor.mall.domain;

import com.chonor.mall.model.Coupon;
import com.chonor.mall.model.CouponHistory;
import com.chonor.mall.model.CouponProduct;
import com.chonor.mall.model.CouponProductCategory;

import java.util.List;

/**
 * 优惠券领取历史详情封装
 */
public class CouponHistoryDetail extends CouponHistory {
    //相关优惠券信息
    private Coupon coupon;
    //优惠券关联商品
    private List<CouponProduct> productRelationList;
    //优惠券关联商品分类
    private List<CouponProductCategory> categoryRelationList;

    public Coupon getCoupon() {
        return coupon;
    }

    public void setCoupon(Coupon coupon) {
        this.coupon = coupon;
    }

    public List<CouponProduct> getProductRelationList() {
        return productRelationList;
    }

    public void setProductRelationList(List<CouponProduct> productRelationList) {
        this.productRelationList = productRelationList;
    }

    public List<CouponProductCategory> getCategoryRelationList() {
        return categoryRelationList;
    }

    public void setCategoryRelationList(List<CouponProductCategory> categoryRelationList) {
        this.categoryRelationList = categoryRelationList;
    }
}
